﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Pismire;

[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple, IncludeExceptionDetailInFaults = true)]
public class categorys : EasyCMS.Common.ICategorys
{
    #region ICategorys 成员

    public EasyCMS.Common.DataComponents.Category GetByID(int id)
    {
        throw new NotImplementedException();
    }

    public EasyCMS.Common.DataComponents.Category GetByCodeName(string codeName)
    {
        throw new NotImplementedException();
    }

    public List<EasyCMS.Common.DataComponents.Category> GetList(EasyCMS.Common.Querys.Category query)
    {
        EasyCMS.Common.ICategorys c = new EasyCMS.Core.Categorys();
        return c.GetList(query);
    }

    public List<EasyCMS.Common.DataComponents.Category> GetList(EasyCMS.Common.Querys.Category query, out int recordCount)
    {
        throw new NotImplementedException();
    }

    public ExcuteState Add(ref EasyCMS.Common.DataComponents.Category category)
    {
        throw new NotImplementedException();
    }

    public ExcuteState Update(ref EasyCMS.Common.DataComponents.Category category)
    {
        throw new NotImplementedException();
    }

    public ExcuteState Delete(int id)
    {
        throw new NotImplementedException();
    }

    #endregion
}
